package com.one.common.common.order.extra;

import com.one.common.model.extra.BaseExtra;

/**
 * author ：zhulunjun
 * email  ：zhulunjun@qq.com
 * date   ：2018/10/23 下午11:05
 * description ：
 **/
public class ReserveExtra extends BaseExtra {
    //1:装修预约 2:设计预约
    public static final String STYLE_DE = "1";
    public static final String STYLE_DY = "2";
    public static final String STYLE_CU = "3"; // 定制加配
    public static final String STYLE_PR = "4"; // 户型选择->方案选择
    public static final String STYLE_SR = "5"; // 一键保修
    private String type;
    private String id;
    /**
     * 携带定制加配的参数
     */
    private CustomExtra customExtra = new CustomExtra();
    public ReserveExtra(String type) {
        this.type = type;
    }

    public ReserveExtra(String type, String id) {
        this.type = type;
        this.id = id;
    }

    public ReserveExtra(String type, CustomExtra customExtra) {
        this.type = type;
        this.customExtra = customExtra;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCustomExtra(CustomExtra customExtra) {
        this.customExtra = customExtra;
    }

    public CustomExtra getCustomExtra() {
        return customExtra;
    }
}
